<template>
	<div class='homeMasker' @click.stop='listPrevent'>
		<div class='maskerChild'>
			<div class='maskerHeader'>
				<h3>提示</h3>
				<div @click='close'>
					<img src="static/image/home/closeWindow.png" />
				</div>
			</div>
			<div class='maskerContent'>
				{{content}}
			</div>
			<div class='maskerFooter'>
				<Button type='error' style='margin-right: 1em;'>确定</Button>
				<Button @click='close'>取消</Button>
			</div>
		</div>
	</div>
</template>

<script>
	export default {
		props: {
			deleteShow: {
				type: Boolean,
				default: false,
				twoWays: true
			},
			content: {
				type: String,
				default: '你确定要永久删除吗?'
			}
		},
		data() {
			return {

			}
		},
		methods: {
			listPrevent() {

			},
			close(e) {
				e.stopPropagation()
				this.$emit('setClose','1')
			}
		}
	}
</script>